IF NOT EXISTS
(
	SELECT * FROM dbo.[sysindexes] WHERE [name]='ExampleTable.ColumnName.Index'
)
	BEGIN
	CREATE UNIQUE INDEX [ExampleTable.ColumnName.Index] ON dbo.[ExampleTable] ([ColumnName])
	END
GO